RaphaelJS by Chris Wilson

RaphaelJS by Chris Wilson

Author:Chris Wilson
Language: eng
Format: epub, pdf
ISBN: 9781449365363
Publisher: O’Reilly Media, Inc.
Published: 2014-08-26T04:00:00+00:00


Again, we can freely mix uppercase and lowercase letters in a path string, though doing so may not contribute to one’s sanity during the creation of complex shapes.

Behind the scenes, Raphael stores paths as an array in which each object represents one command of a letter and some numbers. If you were to add the line console.log(tri) at the end of the previous example and examine your code in Firebug, you would see something like this:

[Array[3], Array[3], Array[3], Array[3], toString: function] 0: Array[3] 0: "M" 1: 90 2: 90 length: 3



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.